//
//  BaseRequest.h
//  忘不了
//
//  Created by rimi on 16/7/8.
//  Copyright © 2016年 handuan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Response.h"
typedef void (^RequestCompletion)(Response *response);
@interface BaseRequest : NSObject
//注册
+ (void)startRegisterWithUserName:(NSString *)userName password:(NSString *)password email:(NSString *)email completionhanlder:(RequestCompletion)callBack;
//登录
+ (void)startLoginWithUserName:(NSString *)userName password:(NSString *)password completionhanlder:(RequestCompletion)callBack;
//修改密码
+ (void)startModifyPasswordWithNewPassword:(NSString *)newPassword completionhanlder :(RequestCompletion)callBack;
//忘记密码
+ (void)startFindPasswordWithEmail:(NSString *)email completionhanlder:(RequestCompletion)callBack;
//生活小贴士
+ (void)startGetLifeKeyWithcompletionhanlder:(RequestCompletion)callBack;
//获取QQ分享内容
+ (void)startGetNoticeWithcompletionhanlder:(RequestCompletion)callBack;
@end
